* Table 3A - Political Risk and PNG Debt Flows
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita trade_gdp, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(investmentprofileratio2 d2.kaopen, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(investmentprofileratio2 d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(investmentprofileratio2 d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust


* Table 3B - Political Risk and PNG Debt Flows
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita trade_gdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(oecdratifiedratio2 d2.kaopen, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(oecdratifiedratio2 d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 pngnflgdp l.pngnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(pngnflgdp l.pngnflgdp tbills_3_months Drealgdppercapita banking_credit_gdp trade_gdp, collapse) iv(oecdratifiedratio2 d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

* Table 4A - Political Risk and PPG Debt Flows
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(investmentprofileratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(tbills_3_months investmentprofileratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(Drealgdppercapita tbills_3_months investmentprofileratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months investmentprofileratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp trade_gdp banking_credit_gdp, collapse) iv(Drealgdppercapita  tbills_3_months investmentprofileratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp banking_credit_gdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months investmentprofileratio2 d2.kaopen, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp banking_credit_gdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months investmentprofileratio2 d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp banking_credit_gdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months investmentprofileratio2 d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

* Table 4B - Political Risk and PPG Debt Flows
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(tbills_3_months oecdratifiedratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp, collapse) iv(Drealgdppercapita tbills_3_months oecdratifiedratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months oecdratifiedratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp trade_gdp banking_credit_gdp, collapse) iv(Drealgdppercapita  tbills_3_months oecdratifiedratio2, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp banking_credit_gdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months oecdratifiedratio2 d2.kaopen, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp banking_credit_gdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months oecdratifiedratio2 d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 ppgnflgdp l.ppgnflgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(ppgnflgdp l.ppgnflgdp banking_credit_gdp trade_gdp, collapse) iv(Drealgdppercapita  tbills_3_months oecdratifiedratio2 d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

* Table 5A - Political Risk and Portfolio Equity Flows
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp, collapse) iv(investmentprofileratio, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp, collapse) iv(investmentprofileratio, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp, collapse) iv(tbills_3_months investmentprofileratio2, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp Drealgdppercapita, collapse) iv(tbills_3_months investmentprofileratio2, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp Drealgdppercapita, collapse) iv(tbills_3_months investmentprofileratio2 trade_gdp, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp Drealgdppercapita, collapse) iv(tbills_3_months investmentprofileratio2 banking_credit_gdp trade_gdp, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp Drealgdppercapita, collapse) iv(tbills_3_months investmentprofileratio2 banking_credit_gdp trade_gdp d2.kaopen, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp Drealgdppercapita, collapse) iv(tbills_3_months investmentprofileratio2 banking_credit_gdp trade_gdp d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp Drealgdppercapita, collapse) iv(tbills_3_months investmentprofileratio2 banking_credit_gdp trade_gdp d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

* Table 5B - Political Risk and Portfolio Equity Flows
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2, collapse) iv(tbills_3_months, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 Drealgdppercapita, collapse) iv(tbills_3_months, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 Drealgdppercapita, collapse) iv(tbills_3_months trade_gdp, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 Drealgdppercapita, collapse) iv(tbills_3_months banking_credit_gdp trade_gdp, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 Drealgdppercapita, collapse) iv(tbills_3_months banking_credit_gdp trade_gdp d2.kaopen, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 Drealgdppercapita, collapse) iv(tbills_3_months banking_credit_gdp trade_gdp d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(portfolioequitygdp l1.portfolioequitygdp oecdratifiedratio2 Drealgdppercapita, collapse) iv(tbills_3_months banking_credit_gdp trade_gdp d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

* Table 6A - Political Risk and FDI Flows
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months investmentprofileratio2, collapse) iv(Drealgdppercapita, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months investmentprofileratio2, collapse) iv(Drealgdppercapita trade_gdp, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months investmentprofileratio2, collapse) iv(Drealgdppercapita banking_credit_gdp trade_gdp, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months investmentprofileratio2, collapse) iv(Drealgdppercapita banking_credit_gdp trade_gdp d2.kaopen, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months investmentprofileratio2, collapse) iv(Drealgdppercapita banking_credit_gdp trade_gdp d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp investmentprofileratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months investmentprofileratio2, collapse) iv(Drealgdppercapita banking_credit_gdp trade_gdp d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

* Table 6B - Political Risk and FDI Flows
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2 Drealgdppercapita, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2 Drealgdppercapita trade_gdp, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2 Drealgdppercapita banking_credit_gdp trade_gdp, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2 Drealgdppercapita banking_credit_gdp trade_gdp d2.kaopen, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2 Drealgdppercapita banking_credit_gdp trade_gdp d2.kaopen Break1997_1998, eq(level)) two robust
xtabond2 fdinetinflowsgdp l1.fdinetinflowsgdp oecdratifiedratio2 productpercent tbills_3_months Drealgdppercapita trade_gdp banking_credit_gdp d2.kaopen Break1997_1998 Break2007_2009 if middleincomedummy==1, gmm(fdinetinflowsgdp l1.fdinetinflowsgdp tbills_3_months, collapse) iv(oecdratifiedratio2 Drealgdppercapita banking_credit_gdp trade_gdp d2.kaopen Break1997_1998 Break2007_2009, eq(level)) two robust

